﻿using System.ServiceModel;
using Ayatta.Contract.Domain;
using System.Collections.Generic;

namespace Ayatta.Contract
{
    [ServiceContract(Namespace = ServiceContract.Namespace)]
    public interface ICategoryService
    {
        [OperationContract]
        IList<ProductCategory> GetCategories(int parentId);
        [OperationContract]
        IList<CategoryProp> GetProps(int categoryId);
        [OperationContract]
        IList<CategoryPropValue> GetPropValues(int categoryId);
    }
}